buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.6.1+'
    }
}

apply plugin: 'android'

repositories {
    mavenLocal()
    mavenCentral()
    maven {
        url "http://files.couchbase.com/maven2/"
    }
}

android {
    compileSdkVersion 19
    buildToolsVersion "18.1.1"

    defaultConfig {
        minSdkVersion 18
        targetSdkVersion 18
    }
}


dependencies {
    // hack to add .so objects (bit.ly/17pUlJ1)
    compile fileTree(dir: 'libs', include: '*.jar')
    compile 'com.couchbase.lite:Listener:1.0.0-beta'

    compile 'com.android.support:support-v4:18.0.0'

    compile 'org.ektorp:org.ektorp.android:1.4.1'

    compile 'org.bouncycastle:bcprov-jdk15on:1.49'
    compile 'org.bouncycastle:bcpkix-jdk15on:1.49'

    // There is a conflict when I include this
    //compile 'org.slf4j:slf4j-android:1.6.1-RC1'

    compile 'com.msopentech.thali:ThaliUtilitiesUniversal:0.0.1'
}


task wrapper(type: Wrapper) {
    gradleVersion = '1.8'
}